package com.shujia.java.day14.MapToListDemo2;

import com.shujia.java.day14.ListToMapDemo1.Student;

public class StudentEntry {
    private Integer key;
    private Student value;

    public StudentEntry(){}
    public StudentEntry(Integer key, Student value) {
        this.key = key;
        this.value = value;
    }

    public Integer getKey() {
        return key;
    }

    public void setKey(Integer key) {
        this.key = key;
    }

    public Student getValue() {
        return value;
    }

    public void setValue(Student value) {
        this.value = value;
    }
}
